package com.ruoyi.system.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 入党积极分子申请对象 party_activist
 * 
 * @author ruoyi
 * @date 2025-10-16
 */
public class PartyActivist extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 积极分子ID */
    private Long activistId;

    /** 用户ID */
    @Excel(name = "用户ID")
    private Long userId;

    /** 入党申请书 */
    @Excel(name = "入党申请书")
    private String applicationFile;

    /** 思想汇报 */
    @Excel(name = "思想汇报")
    private String ideologicalReport;

    /** 推荐材料 */
    @Excel(name = "推荐材料")
    private String recommendationFile;

    /** 申请日期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "申请日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date applicationDate;

    /** 批准日期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "批准日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date approvalDate;

    /** 审核状态（0待审核 1通过 2需修改） */
    @Excel(name = "审核状态", readConverterExp = "0=待审核,1=通过,2=需修改")
    private String auditStatus;

    /** 审核意见 */
    @Excel(name = "审核意见")
    private String auditOpinion;

    /** 审核人 */
    @Excel(name = "审核人")
    private String auditBy;

    /** 审核时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "审核时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date auditTime;

    /** 删除标志（0存在 2删除） */
    private String delFlag;

    /** 用户昵称 */
    @Excel(name = "用户昵称")
    private String nickName;

    public void setActivistId(Long activistId) 
    {
        this.activistId = activistId;
    }

    public Long getActivistId() 
    {
        return activistId;
    }

    public void setUserId(Long userId) 
    {
        this.userId = userId;
    }

    public Long getUserId() 
    {
        return userId;
    }

    public void setApplicationFile(String applicationFile) 
    {
        this.applicationFile = applicationFile;
    }

    public String getApplicationFile() 
    {
        return applicationFile;
    }

    public void setIdeologicalReport(String ideologicalReport) 
    {
        this.ideologicalReport = ideologicalReport;
    }

    public String getIdeologicalReport() 
    {
        return ideologicalReport;
    }

    public void setRecommendationFile(String recommendationFile) 
    {
        this.recommendationFile = recommendationFile;
    }

    public String getRecommendationFile() 
    {
        return recommendationFile;
    }

    public void setApplicationDate(Date applicationDate) 
    {
        this.applicationDate = applicationDate;
    }

    public Date getApplicationDate() 
    {
        return applicationDate;
    }

    public void setApprovalDate(Date approvalDate) 
    {
        this.approvalDate = approvalDate;
    }

    public Date getApprovalDate() 
    {
        return approvalDate;
    }

    public void setAuditStatus(String auditStatus) 
    {
        this.auditStatus = auditStatus;
    }

    public String getAuditStatus() 
    {
        return auditStatus;
    }

    public void setAuditOpinion(String auditOpinion) 
    {
        this.auditOpinion = auditOpinion;
    }

    public String getAuditOpinion() 
    {
        return auditOpinion;
    }

    public void setAuditBy(String auditBy) 
    {
        this.auditBy = auditBy;
    }

    public String getAuditBy() 
    {
        return auditBy;
    }

    public void setAuditTime(Date auditTime) 
    {
        this.auditTime = auditTime;
    }

    public Date getAuditTime() 
    {
        return auditTime;
    }

    public void setDelFlag(String delFlag) 
    {
        this.delFlag = delFlag;
    }

    public String getDelFlag() 
    {
        return delFlag;
    }

    public void setNickName(String nickName) 
    {
        this.nickName = nickName;
    }

    public String getNickName() 
    {
        return nickName;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("activistId", getActivistId())
            .append("userId", getUserId())
            .append("applicationFile", getApplicationFile())
            .append("ideologicalReport", getIdeologicalReport())
            .append("recommendationFile", getRecommendationFile())
            .append("applicationDate", getApplicationDate())
            .append("approvalDate", getApprovalDate())
            .append("auditStatus", getAuditStatus())
            .append("auditOpinion", getAuditOpinion())
            .append("auditBy", getAuditBy())
            .append("auditTime", getAuditTime())
            .append("delFlag", getDelFlag())
            .append("nickName", getNickName())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("remark", getRemark())
            .toString();
    }
}
